Regenerate based on new gir
authorFelix Krull <f_krull@gmx.de>
Sat, 17 Oct 2020 19:37:40 +0000 (21:37 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:56 +0000 (12:53 -0400)
rust-bindings/rust/Cargo.toml
rust-bindings/rust/src/auto/bootconfig_parser.rs
rust-bindings/rust/src/auto/repo.rs
rust-bindings/rust/src/auto/sysroot.rs
rust-bindings/rust/src/auto/versions.txt
rust-bindings/rust/sys/Cargo.toml
rust-bindings/rust/sys/src/auto/versions.txt
rust-bindings/rust/sys/src/lib.rs
rust-bindings/rust/sys/tests/abi.rs

index 23eb974908f9137310a2249d0588d4638c4d6fa1..02baea4b3e4f8a96f932d179f59d563673d3bc6c 100644 (file)
@@ -87,3 +87,4 @@ v2019_6 = ["v2019_4", "ostree-sys/v2019_6"]
 v2020_1 = ["v2019_6", "ostree-sys/v2020_1"]
 v2020_2 = ["v2020_1", "ostree-sys/v2020_2"]
 v2020_4 = ["v2020_2", "ostree-sys/v2020_4"]
+v2020_7 = ["v2020_4", "ostree-sys/v2020_7"]
index 24589150d3386d051c5efd46c968a52ab3ec318f..43be2dabc2062f5b2c9ad07963a95b0ae55bd1ef 100644 (file)
@@ -38,6 +38,13 @@ impl BootconfigParser {
         }
     }
 
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn get_overlay_initrds(&self) -> Vec<GString> {
+        unsafe {
+            FromGlibPtrContainer::from_glib_none(ostree_sys::ostree_bootconfig_parser_get_overlay_initrds(self.to_glib_none().0))
+        }
+    }
+
     pub fn parse<P: IsA<gio::File>, Q: IsA<gio::Cancellable>>(&self, path: &P, cancellable: Option<&Q>) -> Result<(), glib::Error> {
         unsafe {
             let mut error = ptr::null_mut();
@@ -60,6 +67,13 @@ impl BootconfigParser {
         }
     }
 
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn set_overlay_initrds(&self, initrds: &[&str]) {
+        unsafe {
+            ostree_sys::ostree_bootconfig_parser_set_overlay_initrds(self.to_glib_none().0, initrds.to_glib_none().0);
+        }
+    }
+
     pub fn write<P: IsA<gio::File>, Q: IsA<gio::Cancellable>>(&self, output: &P, cancellable: Option<&Q>) -> Result<(), glib::Error> {
         unsafe {
             let mut error = ptr::null_mut();
index 71dbb159be099406dfb0396ecb6f532e0b18c22e..3e62b8bcb85bcd4c4523957f365f12bf5ce8931f 100644 (file)
@@ -48,6 +48,8 @@ use RepoRemoteChange;
 #[cfg(any(feature = "v2016_7", feature = "dox"))]
 use RepoResolveRevExtFlags;
 use RepoTransactionStats;
+#[cfg(any(feature = "v2020_7", feature = "dox"))]
+use Sign;
 use StaticDeltaGenerateOpt;
 
 glib_wrapper! {
@@ -343,11 +345,11 @@ impl Repo {
     //    unsafe { TODO: call ostree_sys:ostree_repo_list_collection_refs() }
     //}
 
-    //pub fn list_commit_objects_starting_with<P: IsA<gio::Cancellable>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
+    //pub fn list_commit_objects_starting_with<P: IsA<gio::Cancellable>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
     //    unsafe { TODO: call ostree_sys:ostree_repo_list_commit_objects_starting_with() }
     //}
 
-    //pub fn list_objects<P: IsA<gio::Cancellable>>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
+    //pub fn list_objects<P: IsA<gio::Cancellable>>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
     //    unsafe { TODO: call ostree_sys:ostree_repo_list_objects() }
     //}
 
@@ -775,6 +777,15 @@ impl Repo {
         }
     }
 
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn static_delta_execute_offline_with_signature<P: IsA<gio::File>, Q: IsA<Sign>, R: IsA<gio::Cancellable>>(&self, dir_or_file: &P, sign: &Q, skip_validation: bool, cancellable: Option<&R>) -> Result<(), glib::Error> {
+        unsafe {
+            let mut error = ptr::null_mut();
+            let _ = ostree_sys::ostree_repo_static_delta_execute_offline_with_signature(self.to_glib_none().0, dir_or_file.as_ref().to_glib_none().0, sign.as_ref().to_glib_none().0, skip_validation.to_glib(), cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error);
+            if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) }
+        }
+    }
+
     pub fn static_delta_generate<P: IsA<gio::Cancellable>>(&self, opt: StaticDeltaGenerateOpt, from: &str, to: &str, metadata: Option<&glib::Variant>, params: Option<&glib::Variant>, cancellable: Option<&P>) -> Result<(), glib::Error> {
         unsafe {
             let mut error = ptr::null_mut();
@@ -783,6 +794,15 @@ impl Repo {
         }
     }
 
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn static_delta_verify_signature<P: IsA<Sign>>(&self, delta_id: &str, sign: &P, out_success_message: &str) -> Result<(), glib::Error> {
+        unsafe {
+            let mut error = ptr::null_mut();
+            let _ = ostree_sys::ostree_repo_static_delta_verify_signature(self.to_glib_none().0, delta_id.to_glib_none().0, sign.as_ref().to_glib_none().0, out_success_message.to_glib_none().0, &mut error);
+            if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) }
+        }
+    }
+
     #[cfg(any(feature = "v2018_6", feature = "dox"))]
     pub fn transaction_set_collection_ref(&self, ref_: &CollectionRef, checksum: Option<&str>) {
         unsafe {
@@ -802,7 +822,7 @@ impl Repo {
         }
     }
 
-    //pub fn traverse_commit<P: IsA<gio::Cancellable>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
+    //pub fn traverse_commit<P: IsA<gio::Cancellable>>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
     //    unsafe { TODO: call ostree_sys:ostree_repo_traverse_commit() }
     //}
 
@@ -816,7 +836,7 @@ impl Repo {
     //}
 
     //#[cfg(any(feature = "v2018_6", feature = "dox"))]
-    //pub fn traverse_reachable_refs<P: IsA<gio::Cancellable>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
+    //pub fn traverse_reachable_refs<P: IsA<gio::Cancellable>>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
     //    unsafe { TODO: call ostree_sys:ostree_repo_traverse_reachable_refs() }
     //}
 
@@ -1001,11 +1021,11 @@ impl Repo {
     //}
 
     //#[cfg(any(feature = "v2018_5", feature = "dox"))]
-    //pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 } {
+    //pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 } {
     //    unsafe { TODO: call ostree_sys:ostree_repo_traverse_new_parents() }
     //}
 
-    //pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 } {
+    //pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 } {
     //    unsafe { TODO: call ostree_sys:ostree_repo_traverse_new_reachable() }
     //}
 
index 9915cc19b7e6610d51735a2bbe50b701144f4b78..b066af07444d73a2289af87fe14fd0fd557d3cea 100644 (file)
@@ -68,6 +68,7 @@ impl Sysroot {
     //    unsafe { TODO: call ostree_sys:ostree_sysroot_cleanup_prune_repo() }
     //}
 
+    #[cfg(any(feature = "v2018_5", feature = "dox"))]
     pub fn deploy_tree<P: IsA<gio::Cancellable>>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, provided_merge_deployment: Option<&Deployment>, override_kernel_argv: &[&str], cancellable: Option<&P>) -> Result<Deployment, glib::Error> {
         unsafe {
             let mut out_new_deployment = ptr::null_mut();
@@ -77,6 +78,11 @@ impl Sysroot {
         }
     }
 
+    //#[cfg(any(feature = "v2020_7", feature = "dox"))]
+    //pub fn deploy_tree_with_options<P: IsA<gio::Cancellable>>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, provided_merge_deployment: Option<&Deployment>, opts: /*Ignored*/Option<&mut SysrootDeployTreeOpts>, cancellable: Option<&P>) -> Result<Deployment, glib::Error> {
+    //    unsafe { TODO: call ostree_sys:ostree_sysroot_deploy_tree_with_options() }
+    //}
+
     pub fn deployment_set_kargs<P: IsA<gio::Cancellable>>(&self, deployment: &Deployment, new_kargs: &[&str], cancellable: Option<&P>) -> Result<(), glib::Error> {
         unsafe {
             let mut error = ptr::null_mut();
@@ -318,6 +324,16 @@ impl Sysroot {
         }
     }
 
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn stage_overlay_initrd<P: IsA<gio::Cancellable>>(&self, fd: i32, cancellable: Option<&P>) -> Result<GString, glib::Error> {
+        unsafe {
+            let mut out_checksum = ptr::null_mut();
+            let mut error = ptr::null_mut();
+            let _ = ostree_sys::ostree_sysroot_stage_overlay_initrd(self.to_glib_none().0, fd, &mut out_checksum, cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error);
+            if error.is_null() { Ok(from_glib_full(out_checksum)) } else { Err(from_glib_full(error)) }
+        }
+    }
+
     #[cfg(any(feature = "v2018_5", feature = "dox"))]
     pub fn stage_tree<P: IsA<gio::Cancellable>>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, merge_deployment: Option<&Deployment>, override_kernel_argv: &[&str], cancellable: Option<&P>) -> Result<Deployment, glib::Error> {
         unsafe {
@@ -328,6 +344,11 @@ impl Sysroot {
         }
     }
 
+    //#[cfg(any(feature = "v2020_7", feature = "dox"))]
+    //pub fn stage_tree_with_options<P: IsA<gio::Cancellable>>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, merge_deployment: Option<&Deployment>, opts: /*Ignored*/&mut SysrootDeployTreeOpts, cancellable: Option<&P>) -> Result<Deployment, glib::Error> {
+    //    unsafe { TODO: call ostree_sys:ostree_sysroot_stage_tree_with_options() }
+    //}
+
     pub fn try_lock(&self) -> Result<bool, glib::Error> {
         unsafe {
             let mut out_acquired = mem::MaybeUninit::uninit();
index 5804403d6e33a8bb305d7b7cf201dfdf1aeb132e..283ef13ecb511e1c8b07c1e4323d88a9e76d9115 100644 (file)
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab)
-from gir-files (https://github.com/gtk-rs/gir-files @ 9f83d52+)
+Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
+from gir-files (https://github.com/gtk-rs/gir-files @ ???)
index 542eca1a35205e596def3bf1fd93206cad74630c..bd9d395e9972bc39b7f3b56b85f81bc21f0eea3f 100644 (file)
@@ -51,6 +51,7 @@ v2020_1 = ["v2019_6"]
 v2020_2 = ["v2020_1"]
 v2020_4 = ["v2020_2"]
 dox = []
+v2020_7 = ["v2020_4"]
 
 [lib]
 name = "ostree_sys"
@@ -109,3 +110,4 @@ v2019_6 = "2019.6"
 v2020_1 = "2020.1"
 v2020_2 = "2020.2"
 v2020_4 = "2020.4"
+v2020_7 = "2020.7"
index 5804403d6e33a8bb305d7b7cf201dfdf1aeb132e..283ef13ecb511e1c8b07c1e4323d88a9e76d9115 100644 (file)
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab)
-from gir-files (https://github.com/gtk-rs/gir-files @ 9f83d52+)
+Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
+from gir-files (https://github.com/gtk-rs/gir-files @ ???)
index b2a96cab46cf1c874190a1e3e50b0176a4ea7190..6864d7df50a9a8c900f7130d8d00748171b1082e 100644 (file)
@@ -760,6 +760,28 @@ impl ::std::fmt::Debug for OstreeSignInterface {
     }
 }
 
+#[repr(C)]
+#[derive(Copy, Clone)]
+pub struct OstreeSysrootDeployTreeOpts {
+    pub unused_bools: [gboolean; 8],
+    pub unused_ints: [c_int; 8],
+    pub override_kernel_argv: *mut *mut c_char,
+    pub overlay_initrds: *mut *mut c_char,
+    pub unused_ptrs: [gpointer; 6],
+}
+
+impl ::std::fmt::Debug for OstreeSysrootDeployTreeOpts {
+    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
+        f.debug_struct(&format!("OstreeSysrootDeployTreeOpts @ {:?}", self as *const _))
+         .field("unused_bools", &self.unused_bools)
+         .field("unused_ints", &self.unused_ints)
+         .field("override_kernel_argv", &self.override_kernel_argv)
+         .field("overlay_initrds", &self.overlay_initrds)
+         .field("unused_ptrs", &self.unused_ptrs)
+         .finish()
+    }
+}
+
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub struct OstreeSysrootWriteDeploymentsOpts {
@@ -1143,9 +1165,13 @@ extern "C" {
     pub fn ostree_bootconfig_parser_new() -> *mut OstreeBootconfigParser;
     pub fn ostree_bootconfig_parser_clone(self_: *mut OstreeBootconfigParser) -> *mut OstreeBootconfigParser;
     pub fn ostree_bootconfig_parser_get(self_: *mut OstreeBootconfigParser, key: *const c_char) -> *const c_char;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_bootconfig_parser_get_overlay_initrds(self_: *mut OstreeBootconfigParser) -> *mut *mut c_char;
     pub fn ostree_bootconfig_parser_parse(self_: *mut OstreeBootconfigParser, path: *mut gio::GFile, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_bootconfig_parser_parse_at(self_: *mut OstreeBootconfigParser, dfd: c_int, path: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_bootconfig_parser_set(self_: *mut OstreeBootconfigParser, key: *const c_char, value: *const c_char);
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_bootconfig_parser_set_overlay_initrds(self_: *mut OstreeBootconfigParser, initrds: *mut *mut c_char);
     pub fn ostree_bootconfig_parser_write(self_: *mut OstreeBootconfigParser, output: *mut gio::GFile, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_bootconfig_parser_write_at(self_: *mut OstreeBootconfigParser, dfd: c_int, path: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
 
@@ -1369,7 +1395,11 @@ extern "C" {
     pub fn ostree_repo_sign_commit(self_: *mut OstreeRepo, commit_checksum: *const c_char, key_id: *const c_char, homedir: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_repo_sign_delta(self_: *mut OstreeRepo, from_commit: *const c_char, to_commit: *const c_char, key_id: *const c_char, homedir: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_repo_static_delta_execute_offline(self_: *mut OstreeRepo, dir_or_file: *mut gio::GFile, skip_validation: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_repo_static_delta_execute_offline_with_signature(self_: *mut OstreeRepo, dir_or_file: *mut gio::GFile, sign: *mut OstreeSign, skip_validation: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_repo_static_delta_generate(self_: *mut OstreeRepo, opt: OstreeStaticDeltaGenerateOpt, from: *const c_char, to: *const c_char, metadata: *mut glib::GVariant, params: *mut glib::GVariant, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_repo_static_delta_verify_signature(self_: *mut OstreeRepo, delta_id: *const c_char, sign: *mut OstreeSign, out_success_message: *mut *mut c_char, error: *mut *mut glib::GError) -> gboolean;
     #[cfg(any(feature = "v2018_6", feature = "dox"))]
     pub fn ostree_repo_transaction_set_collection_ref(self_: *mut OstreeRepo, ref_: *const OstreeCollectionRef, checksum: *const c_char);
     pub fn ostree_repo_transaction_set_ref(self_: *mut OstreeRepo, remote: *const c_char, ref_: *const c_char, checksum: *const c_char);
@@ -1481,7 +1511,10 @@ extern "C" {
     pub fn ostree_sysroot_cleanup(self_: *mut OstreeSysroot, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     #[cfg(any(feature = "v2018_6", feature = "dox"))]
     pub fn ostree_sysroot_cleanup_prune_repo(sysroot: *mut OstreeSysroot, options: *mut OstreeRepoPruneOptions, out_objects_total: *mut c_int, out_objects_pruned: *mut c_int, out_pruned_object_size_total: *mut u64, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2018_5", feature = "dox"))]
     pub fn ostree_sysroot_deploy_tree(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, provided_merge_deployment: *mut OstreeDeployment, override_kernel_argv: *mut *mut c_char, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_sysroot_deploy_tree_with_options(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, provided_merge_deployment: *mut OstreeDeployment, opts: *mut OstreeSysrootDeployTreeOpts, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_sysroot_deployment_set_kargs(self_: *mut OstreeSysroot, deployment: *mut OstreeDeployment, new_kargs: *mut *mut c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_sysroot_deployment_set_mutable(self_: *mut OstreeSysroot, deployment: *mut OstreeDeployment, is_mutable: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     #[cfg(any(feature = "v2018_3", feature = "dox"))]
@@ -1522,8 +1555,12 @@ extern "C" {
     #[cfg(any(feature = "v2020_1", feature = "dox"))]
     pub fn ostree_sysroot_set_mount_namespace_in_use(self_: *mut OstreeSysroot);
     pub fn ostree_sysroot_simple_write_deployment(sysroot: *mut OstreeSysroot, osname: *const c_char, new_deployment: *mut OstreeDeployment, merge_deployment: *mut OstreeDeployment, flags: OstreeSysrootSimpleWriteDeploymentFlags, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_sysroot_stage_overlay_initrd(self_: *mut OstreeSysroot, fd: c_int, out_checksum: *mut *mut c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     #[cfg(any(feature = "v2018_5", feature = "dox"))]
     pub fn ostree_sysroot_stage_tree(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, merge_deployment: *mut OstreeDeployment, override_kernel_argv: *mut *mut c_char, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+    #[cfg(any(feature = "v2020_7", feature = "dox"))]
+    pub fn ostree_sysroot_stage_tree_with_options(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, merge_deployment: *mut OstreeDeployment, opts: *mut OstreeSysrootDeployTreeOpts, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_sysroot_try_lock(self_: *mut OstreeSysroot, out_acquired: *mut gboolean, error: *mut *mut glib::GError) -> gboolean;
     pub fn ostree_sysroot_unload(self_: *mut OstreeSysroot);
     pub fn ostree_sysroot_unlock(self_: *mut OstreeSysroot);
index 6f84ad9c3653affc554c70fb6579e74215f3b903..1f917ee552589cb9206a6ea7b80d450716c1aac6 100644 (file)
@@ -284,6 +284,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
     ("OstreeSePolicyRestoreconFlags", Layout {size: size_of::<OstreeSePolicyRestoreconFlags>(), alignment: align_of::<OstreeSePolicyRestoreconFlags>()}),
     ("OstreeSignInterface", Layout {size: size_of::<OstreeSignInterface>(), alignment: align_of::<OstreeSignInterface>()}),
     ("OstreeStaticDeltaGenerateOpt", Layout {size: size_of::<OstreeStaticDeltaGenerateOpt>(), alignment: align_of::<OstreeStaticDeltaGenerateOpt>()}),
+    ("OstreeSysrootDeployTreeOpts", Layout {size: size_of::<OstreeSysrootDeployTreeOpts>(), alignment: align_of::<OstreeSysrootDeployTreeOpts>()}),
     ("OstreeSysrootSimpleWriteDeploymentFlags", Layout {size: size_of::<OstreeSysrootSimpleWriteDeploymentFlags>(), alignment: align_of::<OstreeSysrootSimpleWriteDeploymentFlags>()}),
     ("OstreeSysrootUpgraderFlags", Layout {size: size_of::<OstreeSysrootUpgraderFlags>(), alignment: align_of::<OstreeSysrootUpgraderFlags>()}),
     ("OstreeSysrootUpgraderPullFlags", Layout {size: size_of::<OstreeSysrootUpgraderPullFlags>(), alignment: align_of::<OstreeSysrootUpgraderPullFlags>()}),